# coding: utf8
from __future__ import absolute_import
from datetime import timedelta
from celery.schedules import crontab


BROKER_URL = 'redis://127.0.0.1:6379/0'

CELERYBEAT_SCHEDULE = {
	'add-every-30-seconds': {
		'task': 'proj.tasks.add',
		'schedule': timedelta(seconds=30),
		'args': (16, 16)
	},
	# # Executes every Monday morning at 7:30 A.M
	# 'add-every-monday-morning': {
	# 	'task': 'proj.tasks.add',
	# 	'schedule': crontab(hour=7, minute=30, day_of_week=1),
	# 	'args': (16, 16),
	# },
}